package com.wa.util;

import com.wa.constants.WebSocketSessionKeySuffixConstant;

/**
 * @author recharde.li@allchips.com
 * @version V1.0
 * @date 2020-05-27 14:09
 **/
public class WebSocketSessionKeyUtil {

    /**
     * 协同后端用户
     *
     * @param prefix
     * @return
     */
    public static String buildWebsiteBackendBomKey(String prefix) {
        return prefix + WebSocketSessionKeySuffixConstant.WEBSITE_BACKEND_BOM_SUFFIX;
    }

    /**
     * boss后端用户
     *
     * @param prefix
     * @return
     */
    public static String buildWebsiteBackendBossKey(String prefix) {
        return prefix + WebSocketSessionKeySuffixConstant.WEBSITE_BACKEND_BOSS_SUFFIX;
    }


}
